package top.ysh.springboot_mybatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import top.ysh.springboot_mybatis.domain.User;

import java.util.List;

@Mapper
// @Repository
public interface UserMapper{

    @Select("select * from t_user")
    public List<User> findAll();

}
